package com.office.automate.dataaccess.def.administration;

import java.util.Date;
import java.util.List;

import com.office.automate.exception.framework.FrontierVisibleException;
import com.office.automate.model.administration.PublicHoliday;

public interface PublicHolidayDao {

	public PublicHoliday persistHolidayDetails(PublicHoliday publicHoliday) throws FrontierVisibleException;
	public List<PublicHoliday> getAvailablePublicHolidayPage(int aStartingIndex, int aNumberOfRecords) throws FrontierVisibleException;
	public int getAvailablePublicHolidayRecordCount() throws FrontierVisibleException;
	public void deletePublicHoliday(PublicHoliday publicHoliday) throws FrontierVisibleException;
	int getAvailablePublicHolidayRecordCountForDateRange(Date aFromDate, Date aToDate) throws FrontierVisibleException;

}
